package org.honeynet.hbbackend.common.storage;

import java.io.File;

public class Storage {
	public static String path(String md5) {
		return
			md5.substring(0, 2+1) + File.separator +
			md5.substring(30, 31+1) + File.separator+
			md5; 
	}
	
	public static String[] pathAsArray(String md5) {
		return new String[] {
				md5.substring(0, 2+1),
				md5.substring(30, 31+1),
				md5
		};
	}
}
